<?php
if($html->getContent('type')=='content')
{
    //$newsother  = ListOthernews($html->getContent('iParentId'),$html->getId());
}
else
{
    $news       = ListContents($html->getId());
    $childhome      = ListCatChildHome($html->getField(0,'cType'));
    
}

function ListCatChildHome($module)
{
    global $dbsql,$language;
    
    $sql_select = "select cImage from tblbackground where cType='".$module."' ";
    return $dbsql->load($sql_select);
    
}
?>